#include <iostream>
using namespace std;
#include <iomanip>
using std::setw;
#include <cmath>
#include <cstring>
#include<list>
#include<vector>

double find_Alp(string Str,char a)
{
	string::iterator iter;
	double i=0;
	int key=0;
	for (iter= Str.begin();  iter!= Str.end(); ++iter) 
    {
    	
    	if(*iter == a)
    	{
    		key=1;
			break; 
		}
		i++;
    }
    if(key==0) return 0.1;
    if(key==1) return i;
}

void del_Alp(string& Str1,char a)
{
	double loc=find_Alp(Str1,a);
	if(loc!=0.1)
	{
		Str1.erase(loc,1);
		del_Alp(Str1,a);
	}
	else return ;
}

void del_all(string& Str1,string Str2)
{
	string::iterator iter;
	for (iter= Str2.begin();  iter!= Str2.end(); ++iter)
	{
		char a=*iter;
		del_Alp(Str1,a);
	 } 
}


int main()
{
	string Str1="They are students.";
	string Str2="aeiou";
	del_all(Str1,Str2);
	cout << Str1;
	return 0;
}
